import service from '@/utils/fetch'
// 验证码
export function GetCaptcha(data) {
	return service({
		url: '/api/SysCaptcha/GetCaptcha',
		method: 'get',
		params: data

	})
}
// 登录
export function GetLogin(data) {
	return service({
		url: '/api/Login/JWTToken3.0',
		method: 'get',
		params: data

	})
}
// 获取用户信息
export function GetInfoByToken(data) {
	return service({
		url: '/api/SysUser/GetInfoByToken',
		method: 'get',
		params: data

	})
}